package com.seocoo.worker.user.account.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.seocoo.worker.R;
import com.seocoo.worker.user.account.entity.EMoney;

/***
 * 资金奖励明细
 */
public class MoneyListAdapter extends BaseQuickAdapter<EMoney, BaseViewHolder> {
    public MoneyListAdapter() {
        super(R.layout.user_money_adapter );
    }

    @Override
    protected void convert(BaseViewHolder helper, EMoney item) {

        helper.setText(R.id.tv_name, item.operDesc );
        helper.setText(R.id.tv_size, "+" + item.money);
        helper.setText(R.id.tv_date, item.createdTime);
    }
}
